/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

/* stylelint-disable order/properties-order */
@import '~antd/lib/style/themes/default.less';

.main_content {
  // width: 1000px;
  margin: 0 auto;
  // height:472px;
  display: flex;
  justify-content: space-between;

  >div {
    width: 48%;
  }

  .main_left {
    background-size: 100%;
    background-repeat: no-repeat;
  }

  :global {
    .ant-form {
      * {
        font-size: 16px;
      }

      .ant-form-explain {
        font-size: 14px !important;
        margin-top: 5px;
      }
    }

    .ant-input,
    button,
    .ant-select-selection {
      height: 52px;
      font-size: 18px;

      .ant-select-selection-selected-value {
        height: 52px;
        line-height: 52px;
      }
    }

    .ant-form-item-children {
      img {
        margin-top: 6px;
      }
    }

    .ant-checkbox {
      .ant-checkbox-inner {
        border-radius: 50%;
        width: 24px;
        height: 24px;
        text-align: center;
        border-color: #43c91e;
      }
    }

    .ant-checkbox-checked {
      .ant-checkbox-inner {
        background-color: #43c91e;

        &::after {
          border: 1px solid #fff;
          border-top: 0;
          border-left: 0;
          transform: rotate(45deg) scale(1.5) translate(-20%, -60%);
          opacity: 1;
          transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
          content: ' ';
        }
      }

      &::after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 1px solid #43c91e;
        border-radius: 2px;
        border-radius: 50%;
        visibility: hidden;
        animation: antCheckboxEffect 0.36s ease-in-out;
        content: '';
        animation-fill-mode: backwards;
      }
    }
  }
}



.main {
  max-width: 368px;
  margin: 0 auto;

  @media screen and (max-width: @screen-sm) {
    width: 95%;
  }

  .icon {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.2);
    margin-left: 16px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s;

    &:hover {
      color: @primary-color;
    }
  }

  .register {
    float: right;
    color: #009fff;
  }

  .other {
    text-align: left;
    margin-top: 24px;
    line-height: 22px;
  }

  &__header_title {
    margin-bottom: 20px;

    a {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    &__logo {
      height: 40px;
      margin-right: 10px;
    }

    &__title {
      display: inline-block;
      height: 40px;
      line-height: 40px;
      font-size: 24px;
      color: @heading-color;
      font-family: 'Myriad Pro', 'Helvetica Neue', Arial, Helvetica, sans-serif;
      font-weight: 600;
    }
  }
}


@media (max-width: 1200px) {
  .loginposition {
    position: absolute;
    background-color: #fff;
    border-radius: 10px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 350px;
  }
}
